#ifndef MY3DPOINT_H
#define MY3DPOINT_H
#include "MyPoint.h"

class My3DPoint : public MyPoint
{
      public:
        My3DPoint();
        My3DPoint(double myX,double myY,double myZ);

        double distance3D(My3DPoint b);

        void setX(double myX);
        void setY(double myY);
        void setZ(double myZ);
        double getX();
        double getY();
        double getZ();

        virtual ~My3DPoint();
    protected:
    private:
        double x;
        double y;
        double z;
};



#endif // MY3DPOINT_H
